package com.jt.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author dc
 * @Classname ContentCat
 * @Date 2020/3/23 17:26
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("tb_content_category")
public class ContentCat extends BasePojo{
    @TableId(type = IdType.AUTO)
    private Long id;
    /**父节点id*/
    private Long parentId;
    /**内容名称*/
    private String name;
    /**状态码*/
    private Integer status;
    /**排序号*/
    private Integer sortOrder;
    /**是否为父级目录*/
    private Boolean isParent;
}
